﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;
using System.ServiceModel;

/// <summary>
/// Summary description for BookDetailEntity
/// </summary>
public class BookDetailEntity
{
	public BookDetailEntity()
	{
		//
		// TODO: Add constructor logic here
		//
	}
    [DataMember]
    public long ID { set; get; }

    [DataMember]
    public long? BookID { set; get; }

    [DataMember]
    public long? PlatformID { set; get; }

    public BookDetailEntity(BookDetail detail)
    {
        BookID = detail.BookID;
        PlatformID = detail.PlatformID;
        PlatformID =  detail.PlatformID;
    }
}